package com.alibaba.citrus.cr.forecast.sdo;

import com.alibaba.cz.base.model.common.AddressSDO;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

@Data
public class DeliverOrderSDO implements Serializable {
    private static final long serialVersionUID = 9056287708933800525L;

    /**
     * 地址详情SDO
     */
    private AddressSDO addressSDO;

    /**
     * 详细地址
     */
    private String detailAddress;

    /**
     * 交互单明细
     */
    //private DeliveryOrderDetailSDO deliveryOrderDetailSDO;

    /**
     *主键
     */
    private Long id;
    /**
     * 销售主订单ID
     */
    private String orderId;
    /**
     * 租户
     */
    private String tenantId;
    /**
     * 客户编码
     */
    private String customerCode;
    /**
     * 组织编码
     */
    private String organizationCode;
    /**
     * 送达方编码
     */
    private String deliveryPartCode;
    /**
     * 送达方
     */
    private String deliveryPartName;
    /**
     * 发货仓编码
     */
    private String warehouseCode;
    /**
     * 发货仓
     */
    private String warehouseName;
    /**
     * 发货时间
     */
    private Date deliveryTime;
    /**
     * 完结时间
     */
    private Date receiveTime;
    /**
     * 交付状态
     */
    private Integer deliveryStatus;
    /**
     * 外部履约单id
     */
    private String outDeliveryId;
    /**
     * 运输方式
     */
    private String transportModeCode;
    /**
     * 运输方式名称
     */
    private String transportModeName;
    /**
     * 扩展信息
     */
    private Map<String,String> features;
    /**
     * 版本号
     */
    private Integer syncVersion;
    /**
     *创建时间
     */
    private Date gmtCreate;
    /**
     *修改时间
     */
    private Date gmtModified;
    /**
     * 创建人
     */
    private String creator;
    /**
     * 修改人
     */
    private String updater;
    /**
     * 邮编
     */
    private String postcode;

    private String contact;

    private String contactPhone;

    //private List<DeliveryOrderDetailSDO> deliveryOrderDetailSDOS;

}
